<%--
  Created by IntelliJ IDEA.
  User: Liu'zhen'yang
  Date: 2022-07-20
  Time: 16:45
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<html lang="zh-CN">
<head>
  <!-- Required meta tags -->
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">

  <!-- Bootstrap CSS -->
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous">

  <title>首页</title>
</head>
<body>

<h1 align="center">我的一类卡账户</h1>
<br>
<br>


<table class="table table-striped">
  <thead>
  <tr>
    <th scope="col">银行卡号</th>
    <th scope="col">余额</th>
  </tr>
  </thead>
  <tbody>
  <c:forEach items="${accountOneList}" var="account">
    <tr>
      <td>${account.card_num}</td>
      <td>${account.balance}</td>
    </tr>
  </c:forEach>

  </tbody>
</table>

<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.bundle.min.js" integrity="sha384-gtEjrD/SeCtmISkJkNUaaKMoLD0//ElJ19smozuHV6z3Iehds+3Ulb9Bn9Plx0x4" crossorigin="anonymous"></script>

</body></body>
</html>
